Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added support for lts/* syntax in nvmrc #1230

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

shubhexists
Copy link
Contributor

@shubhexists shubhexists commented Nov 28, 2024

Fixes #1190

PR Checklist

  • Tests are added/updated if needed
  • Docs are updated if needed

@shubhexists
Copy link
Contributor Author

To help me better understand the codebase, I added a test for the to_json function of the BuildPlan struct as they were not already present.
Let me know if I have to remove it as it is out of scope for this PR.

@brody192
Copy link
Contributor

Hey, thanks for this contribution, we greatly appreciate it!

I'll let the applicable people comment on the technical side of it.

But for now, it would be great if you could also update the docs side of things to reflect your additions!

@shubhexists
Copy link
Contributor Author

Hi @brody192, There was no mention for .nvmrc in the current docs in node provider
I added that
Let me know if it looks fine : D

@brody192
Copy link
Contributor

Awsome, thanks! looks good.

@brody192 brody192 requested a review from coffee-cup November 28, 2024 16:26
@coffee-cup coffee-cup added the release/minor Author minor release label Dec 4, 2024
Copy link
Contributor

@coffee-cup coffee-cup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great thanks!

@@ -407,6 +407,47 @@ mod test {
assert_eq!(result, env_plan);
}

#[test]
fn test_to_json_and_from_json() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good test 🙂

@coffee-cup coffee-cup merged commit 90443a4 into railwayapp:main Dec 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/minor Author minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nixpacks Node.js Build Fails with .nvmrc File Containing Non-Numeric Version (e.g., lts/iron)
3 participants